{extend name="base:base" /}
{block name="body"}


<link rel="stylesheet" href="__THEME__/css/inner.css" />
<!--head end-->
<div class="obanner">
    <!-- pc端banner -->
    <img src="__THEME__/images/foucs_in06.jpg" class="hidden_xs" width="100%" alt="" />
    <!-- phone 端banners -->
    <img src="__THEME__/images/foucs_in06.jpg" class="hidden_lg" width="100%" alt="" />
</div>
<div class="bread">
    <div class="bread_text wrap">
        <span>当前位置：<a href="javascript:;">首页</a><span>&gt;</span> <a href="javascript:;">联系我们</a><span>&gt;</span> <a href="javascript:;" class="red">在线留言</a></span>
    </div>
</div>
<!--inner start -->
<div class="inner wrap clearfix">
    <aside class="left">
        <div class="navbox">
            <div class="nav-title">
                <h2>联系我们</h2>
                <span class="icon_dot"></span>
            </div>
            <div class="nav-con">
                <dl>
                    <dt class="left_navactive"><span></span><a href="javascript:;">联系方式</a> </dt>
                </dl>
                <dl>
                    <dt ><span></span><a href="javascript:;">在线留言</a> </dt>
                </dl>
            </div>
        </div>
    </aside>
    <div class="right">
        <div class="title"><h1>联系方式</h1>
        </div>
        <div class="content clearfix">
            <div>
                服务中心：北京市XXX路XX号<br>
                服务热线：4008-000-000<br>
                网址：<a href="http://www.mujishop.com">http://www.mujishop.com</a>
                <br> <br>
            </div>
            <div class="lxwm_map">
                <div style=" width:100%;height:440px;border:#ccc solid 1px;" id="map"></div>
                <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=Zpgl0bfqMO9yTUAEyiHipm6RdobzWPyO"></script>
                <!-- 地图 -->
                <script>
                    // 百度地图API功能
                    var map = new BMap.Map("map");
                    var point = new BMap.Point(<?php echo config('bmap.x_location'); ?>, <?php echo config('bmap.y_location'); ?>);
                    var marker = new BMap.Marker(point);  // 创建标注
                    map.addOverlay(marker);              // 将标注添加到地图中
                    map.centerAndZoom(point, 14);
                    var opts = {
                        width: 300, // 信息窗口宽度
                        height: 80, // 信息窗口高度
                        title: "{:config('bmap.title')}"
                    }
                    var infoWindow = new BMap.InfoWindow("<?php echo config('bmap.address'); ?>", opts);  // 创建信息窗口对象  
                    map.openInfoWindow(infoWindow, point); //开启信息窗口
                </script>
            </div>
        </div>
    </div>

</div>
<!--inner end-->


{/block}